package com.lgCore.constants;

/**
 * 枚举了一些常用API操作码
 */
public enum ResultCode {
    SUCCESS("200", "操作成功"),
    FAILED("400", "操作失败"),
    ;
    private String code;
    private String message;

    ResultCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
